7.5
HIGH CVSS 3.1
CVE-2025-12863
Libxml2: namespace use-after-free in xmlsettreedoc() function of libxml2
Description

Rejected reason: This CVE was assigned for a libxml2 issue#1012 but later deemed not valid. Ref.: https://gitlab.gnome.org/GNOME/libxml2/-/issues/1012#note_2608283

INFO

Published Date :

Nov. 7, 2025, 9:15 p.m.

Last Modified :

Nov. 20, 2025, 3:17 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-12863 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH 53f830b8-0a3f-465b-8143-3b8a9948e749
CVSS 3.1 HIGH [email protected]
Solution
Update libxml2 to a version that addresses the use-after-free vulnerability in xmlSetTreeDoc().
  • Update the libxml2 library to the latest secure version.
  • Recompile applications that use the affected libxml2 function.
  • Test updated applications for stability and security.
Public PoC/Exploit Available at Github

CVE-2025-12863 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Toolkit for k8s administrators/developers.

Dockerfile Shell

Updated: 2 months, 1 week ago
1 stars 0 fork 0 watcher
Born at : July 10, 2022, 10:30 p.m. This repo has been linked 136 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-12863 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-12863 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Rejected by [email protected]

    Nov. 20, 2025

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 20, 2025

    Action Type Old Value New Value
    Changed Description A flaw was found in the xmlSetTreeDoc() function of the libxml2 XML parsing library. This function is responsible for updating document pointers when XML nodes are moved between documents. Due to improper handling of namespace references, a namespace pointer may remain linked to a freed memory region when the original document is destroyed. As a result, subsequent operations that access the namespace can lead to a use-after-free condition, causing an application crash. Rejected reason: This CVE was assigned for a libxml2 issue#1012 but later deemed not valid. Ref.: https://gitlab.gnome.org/GNOME/libxml2/-/issues/1012#note_2608283
    Removed CVSS V3.1 Red Hat, Inc.: AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Removed CWE Red Hat, Inc.: CWE-416
    Removed Reference Red Hat, Inc.: https://access.redhat.com/security/cve/CVE-2025-12863
    Removed Reference Red Hat, Inc.: https://bugzilla.redhat.com/show_bug.cgi?id=2413323
  • New CVE Received by [email protected]

    Nov. 07, 2025

    Action Type Old Value New Value
    Added Description A flaw was found in the xmlSetTreeDoc() function of the libxml2 XML parsing library. This function is responsible for updating document pointers when XML nodes are moved between documents. Due to improper handling of namespace references, a namespace pointer may remain linked to a freed memory region when the original document is destroyed. As a result, subsequent operations that access the namespace can lead to a use-after-free condition, causing an application crash.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-416
    Added Reference https://access.redhat.com/security/cve/CVE-2025-12863
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2413323
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.